<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Reranker Framework (ReFr): reranker::FactoryContainer Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Reranker Framework (ReFr)
   
   </div>
   <div id="projectbrief">Reranking framework for structure prediction and discriminative language modeling</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacereranker.html">reranker</a>      </li>
      <li class="navelem"><a class="el" href="classreranker_1_1_factory_container.html">FactoryContainer</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">reranker::FactoryContainer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="reranker::FactoryContainer" -->
<p>A class to hold all <a class="el" href="classreranker_1_1_factory.html">Factory</a> instances that have been created.  
 <a href="classreranker_1_1_factory_container.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="factory_8_h_source.html">factory.H</a>&gt;</code></p>

<p><a href="classreranker_1_1_factory_container-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef vector&lt; <a class="el" href="classreranker_1_1_factory_base.html">FactoryBase</a> * &gt;<br class="typebreak"/>
::<a class="el" href="classreranker_1_1_factory_container.html#a5bf60c03af9c6d6266a8065b9e45b1d1">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_factory_container.html#a5bf60c03af9c6d6266a8065b9e45b1d1">iterator</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_factory_container.html#acc7effa13e093d95c7866d95ecda9324">Add</a> (<a class="el" href="classreranker_1_1_factory_base.html">FactoryBase</a> *factory)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the specified factory to this container of factories.  <a href="#acc7effa13e093d95c7866d95ecda9324"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_factory_container.html#ab242b39f86f6bccfae572108ef46f8e9">Clear</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears this container of factories.  <a href="#ab242b39f86f6bccfae572108ef46f8e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classreranker_1_1_factory_container.html#a5bf60c03af9c6d6266a8065b9e45b1d1">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_factory_container.html#a8a206cc8e159df1be3c3b9ac3f87f8a3">begin</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classreranker_1_1_factory_container.html#a5bf60c03af9c6d6266a8065b9e45b1d1">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_factory_container.html#a34ca18c43c96d8f15f943ad3c86fd2b3">end</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classreranker_1_1_factory_container.html#a4ecabc625093e83cb762a27f8d175d88">Print</a> (ostream &amp;os)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints the base typenames for all factories along with a list of all concrete subtypes those factories can construct, in a human-readable form, to the specified output stream.  <a href="#a4ecabc625093e83cb762a27f8d175d88"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A class to hold all <a class="el" href="classreranker_1_1_factory.html">Factory</a> instances that have been created. </p>

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00203">203</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a5bf60c03af9c6d6266a8065b9e45b1d1"></a><!-- doxytag: member="reranker::FactoryContainer::iterator" ref="a5bf60c03af9c6d6266a8065b9e45b1d1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef vector&lt;<a class="el" href="classreranker_1_1_factory_base.html">FactoryBase</a> *&gt;::<a class="el" href="classreranker_1_1_factory_container.html#a5bf60c03af9c6d6266a8065b9e45b1d1">iterator</a> <a class="el" href="classreranker_1_1_factory_container.html#a5bf60c03af9c6d6266a8065b9e45b1d1">reranker::FactoryContainer::iterator</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00205">205</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="acc7effa13e093d95c7866d95ecda9324"></a><!-- doxytag: member="reranker::FactoryContainer::Add" ref="acc7effa13e093d95c7866d95ecda9324" args="(FactoryBase *factory)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classreranker_1_1_factory_container.html#acc7effa13e093d95c7866d95ecda9324">reranker::FactoryContainer::Add</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classreranker_1_1_factory_base.html">FactoryBase</a> *&#160;</td>
          <td class="paramname"><em>factory</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds the specified factory to this container of factories. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">factory</td><td>the factory to add to this container </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00210">210</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>

</div>
</div>
<a class="anchor" id="a8a206cc8e159df1be3c3b9ac3f87f8a3"></a><!-- doxytag: member="reranker::FactoryContainer::begin" ref="a8a206cc8e159df1be3c3b9ac3f87f8a3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classreranker_1_1_factory_container.html#a5bf60c03af9c6d6266a8065b9e45b1d1">iterator</a> <a class="el" href="classreranker_1_1_factory_container.html#a8a206cc8e159df1be3c3b9ac3f87f8a3">reranker::FactoryContainer::begin</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00232">232</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>

</div>
</div>
<a class="anchor" id="ab242b39f86f6bccfae572108ef46f8e9"></a><!-- doxytag: member="reranker::FactoryContainer::Clear" ref="ab242b39f86f6bccfae572108ef46f8e9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classreranker_1_1_factory_container.html#ab242b39f86f6bccfae572108ef46f8e9">reranker::FactoryContainer::Clear</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clears this container of factories. </p>

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00218">218</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>

</div>
</div>
<a class="anchor" id="a34ca18c43c96d8f15f943ad3c86fd2b3"></a><!-- doxytag: member="reranker::FactoryContainer::end" ref="a34ca18c43c96d8f15f943ad3c86fd2b3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classreranker_1_1_factory_container.html#a5bf60c03af9c6d6266a8065b9e45b1d1">iterator</a> <a class="el" href="classreranker_1_1_factory_container.html#a34ca18c43c96d8f15f943ad3c86fd2b3">reranker::FactoryContainer::end</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00239">239</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>

</div>
</div>
<a class="anchor" id="a4ecabc625093e83cb762a27f8d175d88"></a><!-- doxytag: member="reranker::FactoryContainer::Print" ref="a4ecabc625093e83cb762a27f8d175d88" args="(ostream &amp;os)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classreranker_1_1_factory_container.html#a4ecabc625093e83cb762a27f8d175d88">reranker::FactoryContainer::Print</a> </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&#160;</td>
          <td class="paramname"><em>os</em></td><td>)</td>
          <td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Prints the base typenames for all factories along with a list of all concrete subtypes those factories can construct, in a human-readable form, to the specified output stream. </p>

<p>Definition at line <a class="el" href="factory_8_h_source.html#l00250">250</a> of file <a class="el" href="factory_8_h_source.html">factory.H</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="factory_8_h_source.html">factory.H</a></li>
<li><a class="el" href="factory_8_c_source.html">factory.C</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Apr 9 2013 11:56:30 for Reranker Framework (ReFr) by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
